ed849a4dbf01c0d563dd8111f207c252fab4b86c,src/test/java/com/aliyun/oss/integrationtests/TestBase.java,TestBase,getSecondClient,#,107

Before Change


        if (secondClient == null) {
            secondClient = new OSSClient(SECOND_ENDPOINT, 
                    new DefaultCredentialProvider(secondCreds),
                    new ClientConfiguration().setSupportCname(false).setSLDEnabled(true));
        }
        return secondClient;
    }

After Change


    
    public static OSSClient getSecondClient() {
        if (secondClient == null) {
            ClientConfiguration conf = new ClientConfiguration().setSupportCname(false);
            secondClient = new OSSClient(SECOND_ENDPOINT, 
                    new DefaultCredentialProvider(secondCreds),
                    conf);}